package com.heitian.ssm.Constants;

/**
 * Created with IntelliJ IDEA.
 * User: mishuai
 * Date: 2018-04-21
 * Time: 00:39
 * Des:
 */
public class WebConstants {

   public static final String SALT="salt";
   public static final String MAIL="18699766910@163.com";

    public static final String CHARSET = "UTF-8";

    /**
     * 手机号码长度
     */
    public static final int MOBILE_NUMBER_LENGTH = 11;

    /**
     * 邮箱的正则
     */
    public static final String emailAddressPattern =
            "\\b(^['_A-Za-z0-9-]+(\\.['_A-Za-z0-9-]+)*@([A-Za-z0-9-])+(\\.[A-Za-z0-9-]+)*((\\.[A-Za-z0-9]{2,})|(\\.[A-Za-z0-9]{2,}\\.[A-Za-z0-9]{2,}))$)\\b";
    /**
     * 邮箱最大长度
     */
    public static final int MAX_EMAIL_LENGTH = 100;

    public static final String JD_PIN = "JD_PIN";

}
